package com.justgame.project.service.system.vo;

import com.justgame.project.service.system.entity.SysUserInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Getter;

import java.io.Serializable;
import java.math.BigDecimal;

@Getter
@Builder
@ApiModel("用户登录后信息")
public class UserAuthorizationResult implements Serializable {
    @ApiModelProperty("userInfoId")
    private Long id;
    @ApiModelProperty("用户名")
    private String userName;
    @ApiModelProperty("头像")
    private String avatar;
    @ApiModelProperty("性别")
    private SysUserInfo.Sex sex;
    @ApiModelProperty("角色")
    private SysUserInfo.Role role;
    @ApiModelProperty("账户状态")
    private SysUserInfo.Status status;
    @ApiModelProperty("邮箱")
    private String email;
    @ApiModelProperty("手机号（隐私处理返回）")
    private String phoneNumber;
    @ApiModelProperty("昵称")
    private String nickname;
    @ApiModelProperty("硬币")
    private BigDecimal coin;
    @ApiModelProperty("积分")
    private BigDecimal integral;
    @ApiModelProperty("账户余额")
    private BigDecimal rmb;
}
